package com.chinatelecom.otms.circuitcheck;

import com.chinatelecom.otms.circuitcheck.util.Common;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

@SpringBootApplication
//@MapperScan("com.chinatelecom.otms.circuitcheck")
public class RunApplication {
    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(RunApplication.class, args);


//        ConfigurableApplicationContext ctx = SpringApplication.run(RunApplication.class, args);
//        Common.countDownLatch.await();
//        Common.singleThreadExecutor.shutdown();
//        System.out.println("电路检查完成");
//        ctx.close();
    }
}